package com.shu.framework.exception.base;

import com.shu.framework.enums.CodeMsg;

/**
 * 基础异常
 * 
 * @author shujinhao
 */
public class BaseException extends RuntimeException
{

    private static final long serialVersionUID = 1L;

    private CodeMsg codeMsg;


    public BaseException(CodeMsg codeMsg)
    {
        this.codeMsg=codeMsg;
    }

    public CodeMsg getCodeMsg() {
        return codeMsg;
    }
}
